﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;

public class MainMenPanel : MonoBehaviour
{
    private void Start()
    {
        GameObject startBtn = GameObject.Find("StartBtn");
        startBtn.GetComponent<Button>().onClick.AddListener(() => { SceneManager.LoadScene("MainGame"); });
    }
}
